#! /bin/sh
clear

if [[ `screen -ls |grep SCREEN` ]]
   then
       echo "Already started $SCREEN: $MOD"
   else
       echo "Starting $SCREEN: $MOD"
   cd $DIR
   screen -A -m -d -S $SCREEN $DAEMON $PARAMS
   fi